package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "附件详情")
@Table(name = "tb_attach")
public class Attach {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("是否被移除 0否 1是")
    private Integer removed;
    @ApiModelProperty("标注")
    private String remark;
    @ApiModelProperty("版本数")
    private Integer versionNum;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("创建人")
    private Long fCreateUserId;
    @ApiModelProperty("更新人")
    private Long fUpdateUserId;

    @ApiModelProperty("业务标识")
    private Long businessId;
    @ApiModelProperty("存放路径")
    private String path;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("分类")
    private String type;
    @ApiModelProperty("文档类型")
    private String contentType;
}
